<?php 
return array 
      ('navigation' => array(
				'default' => array(
					
						array(
								'label' => 'Home',
								'route' => 'home',
								'id' => 'menu',
								//'id' => 'submenu',
								'resource'   => 'guest' ,// resource
						),
						array(
								'label' => 'Login',
								'route' => 'login',
								//'id' => 'menu',
								'resource'   => 'guest' ,// resource
						),
						array(
								'label' => 'Users',
								'route' => 'users',					
								//'id' => 'menu',
								//'class' => 'btn btn-navbar', 
								//'data-toggle' => 'collapse', 
								//'data-target' => '.nav-collapse',
								//'class' => 'dropdown',
								'pages' => array(
										array(
												'label' => 'Welcome users',
												'route' => 'users',
												'resource'   => 'guest' ,// resource
										),
										array(
												'label' => 'View users',
												'route' => 'usermanager',
												'resource'   => 'admin' ,// resource
										),
										array(
												'label' => 'Login',
												'route' => 'login',
												'resource'   => 'guest' ,// resource
										),
										array(
												'label' => 'Register',
												'route' => 'register',
												'controller' => 'Register',
												'action' => 'index',
												'resource'   => 'guest' // resource
										),
										array(
												'label' => 'Logout',
												'route' => 'login',
												//'controller' => 'Users\Controller\Users',
												'action' => 'logout',
												'resource'   => 'guest' ,// resource
										),
										
										
										array(
												'label' => 'Export -egzample',
												'route' => 'csvexportt',
												//'Id' => 'submenu3',
												'controller' => 'Users\Controller\Csvimpexp',
												'action' => 'index',
												//'action' => 'csvexport1',
												'resource'   => 'guest', // resource
										),
										array(
												'label' => 'Export csv egzample',
												'route' => 'csvexportt',
												//'Id' => 'submenu3',
												'controller' => 'Users\Controller\Csvimpexp',
												'action' => 'csvexporttt',
												//'action' => 'csvexport1',
												'resource'   => 'guest', // resource
										),
										array(
												'label' => 'Import csv egzample',
												'route' => 'csvexportt',
												//'Id' => 'submenu3',
												'controller' => 'Users\Controller\Csvimpexp',
												'action' => 'csvimporttt',
												//'action' => 'csvexport1',
												'resource'   => 'guest', // resource
										),
								),
						),
						array(
								'label' => 'Album',
								'route' => 'album',
								//'id' => 'menu',
								'pages' => array(
										array(
												'label' => 'View album',
												'route' => 'album',
												//'action' => 'add',
												'resource'   => 'guest' ,// resource
										),
										array(
												'label' => 'Add',
												'route' => 'album',
												'action' => 'add',
												'resource'   => 'admin', // resource
										),
								
									
								),
							  ),
						//),
						array(
								'label' => 'Files',
								'route' => 'upploadmanager',
								//'id' => 'menu',
								'pages' => array(
										array(
												'label' => 'Upload files',
												'route' => 'upploadmanager',
												'resource'   => 'member' // resource
												),
										array(
												'label' => 'View uploaded files',
												'route' => 'upploadmanager',
												'action' => 'showuploadedfiles',
												'resource'   => 'member' ,// resource
										),
										),
						),
						array(
								'label' => 'Images uploaded',
								'route' => 'mediamanager',
								//'id' => 'menu',
								'resource'   => 'member' ,// resource
						),
						array(
								'label' => 'Store',
								'route' => 'estore',
								//'id' => 'menu',
								'pages' => array(
										array(
												'label' => 'Products',
												'route' => 'estore',
												'action' => 'index',
												'resource'   => 'guest' ,// resource
										),
										array(
												'label' => 'Add products',
												'route' => 'estore',
												'action' => 'add',
												'resource'   => 'admin' ,// resource
										),
										array(
												'label' => 'Card',
												'route' => 'estore',
												'action' => 'shoppingCart',
												'resource'   => 'member', // resource
										),
						
											
								),
						),
						array(
								'label' => 'Store admin',
								'route' => 'storeadmin',
								'resource'   => 'admin' ,// resource
								//'id' => 'menu',
								'pages' => array(
										array(
												'label' => 'Products',
												'route' => 'storeadmin',
												'action' => 'index',
												'resource'   => 'admin' ,// resource
										),
										array(
												'label' => 'Add products',
												'route' => 'storeadmin',
												'action' => 'add',
												'resource'   => 'admin' ,// resource
										),
										
										array(
												'label' => 'Orders',
												'route' => 'storeadmin',
												'action' => 'storeorders',
												'resource'   => 'admin', // resource
										),
									
										array(
												'label' => 'SetExpressCheckout',
												'route' => 'storeadmin',
												'action' => 'SetExpressCheckout',
												'resource'   => 'admin', // resource
										),
										
								),
						),
						/*array(
						 'label' => 'Store',
								'route' => 'elektronicznysklep',
								'resource'   => 'member'
								),*/
						array(
								'label' => 'Chat',
								'route' => 'groupchat',
								//'id' => 'menu',
								'resource'   => 'member' ,// resource
						),
						array(
								'label' => 'Offline mail',
								'route' => 'offlinemail',
								//'id' => 'menu',
								'resource'   => 'member' ,// resource
						),
						
						/*array(
								'label' => 'Register',
								'route' => 'users',
								'controller' => 'register',
								'action' => 'index',
								'resource' => 'users/register/index'
						),*/
//**************************************************************************************************************
						array(
								'label' => 'Misc',
								'route' => 'application',
								'id' => 'submenu',
								'resource'   => 'admin' ,// resource	
								'pages' => array(
								 array(
										'label' => 'Export csv egzample',
										'route' => 'csvexportt',
										//'id' => 'submenu',
										'controller' => 'Users\Controller\Csvimpexp',
										'action' => 'csvexporttt',
										//'action' => 'csvexport1',
										'resource'   => 'guest', // resource
								 ),
								 array(
										'label' => 'Import csv egzample',
										'route' => 'csvexportt',
										//'id' => 'submenu',
										'controller' => 'Users\Controller\Csvimpexp',
										'action' => 'csvimporttt',
										//'action' => 'csvexport1',
										'resource'   => 'guest', // resource
								 ),
								 array(
										'label' => 'Forum',
										'route' => 'forum',
										//'id' => 'submenu',
										'controller' => 'Zf2Forum\Controller\Forums',
										'action' => 'forums',
										//'action' => 'csvexport1',
										'resource'   => 'member', // resource
										),
								 array(
										'label' => 'Search',
										'route' => 'search',
										'controller' => 'Users\Controller\Search',
										'action' => 'index',
										'resource'   => 'guest' ,// resource
										),
										array(
										'label' => 'Generate Search Index',
										'route' => 'search',
										//'id' => 'submenu1',
										'controller' => 'Users\Controller\Search',
										'action' => 'generate-index',
										'resource'   => 'admin' ,// resource
										),
										array(
										'label' => 'About',
										'route' => 'about',
										//'Id' => 'submenu2',
										'controller' => 'Users\Controller\Users',
										'action' => 'about',
										'resource'   => 'guest', // resource
										),
										
										
								 ),
						 ),
				),
		),
 );
